package com.tourManagement.service;

import com.tourManagement.entity.订单信息;

import java.sql.SQLException;
import java.util.List;

public interface 订单管理Service {
    //订单新增
    public int addOrder(订单信息 data) throws SQLException;
    //订单删除
    public int deleteOrder(Integer orderId) throws SQLException;
    //订单支付
    public int orderPayment(Integer orderId) throws SQLException;
    //订单信息查询(单个人)
    public List<订单信息> selectOneOrder(String userName) throws SQLException;
    //订单信息查询(所有人)
    public List<订单信息> selectAllOrder() throws SQLException;
}
